const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');
var Userschema = new mongoose.Schema({ 
    name: String,
    password:String,
    city:String,
    date:{type:Date},
    gender:String,
    interest:[],
    desc:String
 });

 Userschema.plugin(mongoosePaginate);

module.exports = mongoose.model('User',  Userschema);